﻿<link href="~/App/Styles/modalAwesome.css" rel="stylesheet" />
<link href="~/App/Styles/bootstrap.css" rel="stylesheet" />
<link href="~/App/Styles/CSSMain.css" rel="stylesheet" />
<link href="~/App/Styles/AdminCSS.css" rel="stylesheet" />
<link href="~/App/Styles/isoCell.css" rel="stylesheet" />

<div data-ng-app="app">
    <div ng-controller="app.LogInController">
        <div>
            <div class="avgrund-cover"> </div>

            <aside class="avgrund-popup">
                <h2>Please log in.</h2>
                <form>
                    <input type="text" class="form-control" data-ng-model="user.username" placeholder="Username" />
                    <input type="password" class="form-control" data-ng-model="user.password" placeholder="Password" />
                </form>
                <button type="button" class="btn btn-default" onclick="avgrund.deactivate();">Cancel</button>
                <button type="button" class="btn btn-primary" data-ng-click="Login()">Login</button>
                <button type="button" class="btn btn-success" data-ng-click="Registration()">Register</button>
            </aside>

        </div>

        <div class="navbar navbar-default navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a href="/"  class="pull-left"><img src="~/App/Images/B-techBidsLogov2.png" style="height: 50px; width: 100px;padding-top: 10px;" /></a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav pull-right">
                        <li data-ng-hide="token">
                            <a class="btn" style="font-weight:400; font-size:16px;padding-top: 20px;padding-bottom: 15px;" data-ng-click="Registration()">Register</a>
                        </li>
                        <li data-ng-hide="token">
                            <a class="btn" style="font-weight:400; font-size:16px;padding-top: 20px;padding-bottom: 15px;" data-ng-click="showLogin()">Login</a>
                        </li>
                        <li data-ng-show="token && (username=='Admin' || username=='admin')">
                            <a style="font-weight:400; font-size:16px;padding-top: 20px;padding-bottom: 15px;" href="#/Admin">Admin Control Panel</a>
                        </li>
                        <li data-ng-show="token">
                            <a style="font-weight:400; font-size:16px;padding-top: 20px;padding-bottom: 15px;" href="#/Account">My Account</a>
                        </li>
                        <li data-ng-show="token">
                            <a style="font-weight:400; font-size:16px;padding-top: 20px;padding-bottom: 15px;" href data-ng-click="Logout()">Logout</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="{{ pageClassAni }}" data-ng-view>

        </div>
    </div>
</div>
<script src="~/App/Scripts/jquery-1.8.3.min.js"></script>
<script src="~/App/Scripts/angular.js"></script>
<script src="~/App/Scripts/angular-route.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular-animate.js"></script>
<script src="~/App/Scripts/angular-mocks.js"></script>
<script src="~/App/Scripts/isotope.pkgd.js"></script>
<script src="~/App/Scripts/modalAwesome.js"></script>
<script src="~/App/Scripts/_main.js"></script>
<script src="~/App/Scripts/ngMainController.js"></script>
<script src="~/App/Scripts/ngUserRegistrationController.js"></script>
<script src="~/App/Scripts/ngAdminController.js"></script>
<script src="~/App/Scripts/ngItemHistoryController.js"></script>
<script src="~/App/Scripts/ngUserDetailController.js"></script>
<script src="~/App/Scripts/ngItemDetailController.js"></script>